package com.yazi.mxz.common.db.dao;

import com.yazi.mxz.common.entity.beans.GoodsGift;
import com.yazi.mxz.common.entity.enums.GoodsGiftType;

import com.myframework.smhj.hibernate.dao.Dao;

public interface GoodsGiftDao extends Dao<GoodsGift> {
	
	/**
	 * 根据购买商品ID删除促销赠品
	 * @param sellId 购买的商品ID
	 * @param type 赠品类型
	 * @return
	 */
	int deleteBySellId(long sellId, GoodsGiftType type);
	
}
